<?php
/**
 * Created by PhpStorm.
 * User: mofeng
 * Date: 16/9/5
 * Time: 上午9:41
 */
namespace App\Api\Account\Models;

use Illuminate\Database\Eloquent\Model;

class Withdraw extends Model
{
    protected $table = 'withdraw';

    protected $fillable = [
        'user_id',
        'amount',
        'to',
        'status',
        'memo',
    ];

    static $status = [
        '-900' => '提现发起失败(余额不足)',
        '-100' => '审核拒绝',
        '100' => '已发起',
        '200' => '审核通过',
    ];

    static $to = [
        '1' => '提现到支付宝',
        '2' => '提现到银行卡',
    ];
}